GLOBAL.setmetatable(env, { __index = function(t, k) return GLOBAL.rawget(GLOBAL, k) end })

---@type string
local modid = 'doro' -- 定义唯一modid

PrefabFiles = {
	'doro_module_dishes',
	-- 'doro_module_particle',
	"doro_orange", "doro_orange_bush", "doro_orange_hat",
	"doro_weapon", "doro_fly_sword", "doro_decoy",
}

Assets = {
	--ghl/untitled/ghl
	Asset("SOUNDPACKAGE", "sound/ghl.fev"),
	Asset("SOUND", "sound/ghl.fsb"),
	--zhutou/untitled/bendan
	Asset("SOUNDPACKAGE", "sound/bendan.fev"),
	Asset("SOUND", "sound/bendan.fsb"),
	--zhutou/untitled/zhutou
	Asset("SOUNDPACKAGE", "sound/zhutou.fev"),
	Asset("SOUND", "sound/zhutou.fsb"),
}
-- 导入常量表
modimport('scripts/core_' .. modid .. '/data/tuning.lua')

-- 导入工具
modimport('scripts/core_' .. modid .. '/utils/_register.lua')

-- 导入功能API
modimport('scripts/core_' .. modid .. '/api/_register.lua')

-- 导入mod配置
TUNING[string.upper('CONFIG_' .. modid .. '_LANG')] = GetModConfigData(modid .. '_lang')

-- 导入语言文件
modimport('scripts/core_' .. modid .. '/languages/' .. TUNING[string.upper('CONFIG_' .. modid .. '_LANG')] .. '.lua')

-- 导入人物
modimport('scripts/data_avatar/data_avatar_doro.lua')

-- 导入调用器
-- modimport('scripts/core_'..modid..'/callers/caller_attackperiod.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_badge.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_ca.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_changeactionsg.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_container.lua')
modimport('scripts/core_' .. modid .. '/callers/caller_dish.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_keyhandler.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_onlyusedby.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_recipes.lua')
-- modimport('scripts/core_'..modid..'/callers/caller_stack.lua')
modimport('scripts/core_doro/doro_assets.lua')
modimport('scripts/core_doro/doro_hook.lua')
modimport('scripts/core_doro/doro_recipe.lua')
modimport('scripts/core_doro/doro_containerwidget.lua')

-- 导入UI

-- 注册客机组件

-- 导入钩子

--武器
modimport("scripts/doro/doro_tuning.lua")
modimport("scripts/doro/doro_cmp_action.lua")
modimport("scripts/doro/doro_rpc.lua")
